Spaces:
Sleeping
Sleeping
George Krupenchenkov
commited on
Commit
·
84c6330
1
Parent(s):
6d56d5a
hw changes
Browse files
app.py
CHANGED
@@ -74,6 +74,13 @@ with gr.Blocks(css=css) as demo:
|
|
74 |
gr.Markdown(" # Text-to-Image Gradio Template")
|
75 |
|
76 |
with gr.Row():
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
77 |
prompt = gr.Text(
|
78 |
label="Prompt",
|
79 |
show_label=False,
|
@@ -143,6 +150,7 @@ with gr.Blocks(css=css) as demo:
|
|
143 |
triggers=[run_button.click, prompt.submit],
|
144 |
fn=infer,
|
145 |
inputs=[
|
|
|
146 |
prompt,
|
147 |
negative_prompt,
|
148 |
seed,
|
|
|
74 |
gr.Markdown(" # Text-to-Image Gradio Template")
|
75 |
|
76 |
with gr.Row():
|
77 |
+
model_repo_id = gr.Text(
|
78 |
+
label="model_repo_id",
|
79 |
+
show_label=False,
|
80 |
+
max_lines=1,
|
81 |
+
placeholder="Enter your model_repo_id",
|
82 |
+
container=False,
|
83 |
+
)
|
84 |
prompt = gr.Text(
|
85 |
label="Prompt",
|
86 |
show_label=False,
|
|
|
150 |
triggers=[run_button.click, prompt.submit],
|
151 |
fn=infer,
|
152 |
inputs=[
|
153 |
+
model_repo_id,
|
154 |
prompt,
|
155 |
negative_prompt,
|
156 |
seed,
|