charliebaby2023
commited on
Commit
•
8fc64ff
1
Parent(s):
cebd60e
Update app.py
Browse files
app.py
CHANGED
@@ -60,7 +60,9 @@ def gen_fn(model_str, prompt):
|
|
60 |
|
61 |
|
62 |
|
63 |
-
|
|
|
|
|
64 |
with gr.Tab('The Dream'):
|
65 |
fn=process_text,
|
66 |
txt_input = gr.Textbox(label = 'Your prompt:', lines=4, value=generate_text_with_random_number() ).style(container=False,min_width=1200)
|
@@ -100,5 +102,9 @@ with gr.Blocks() as demo:
|
|
100 |
"""
|
101 |
)
|
102 |
|
|
|
|
|
|
|
|
|
103 |
demo.queue(concurrency_count = 200)
|
104 |
demo.launch()
|
|
|
60 |
|
61 |
|
62 |
|
63 |
+
|
64 |
+
|
65 |
+
def make_me():
|
66 |
with gr.Tab('The Dream'):
|
67 |
fn=process_text,
|
68 |
txt_input = gr.Textbox(label = 'Your prompt:', lines=4, value=generate_text_with_random_number() ).style(container=False,min_width=1200)
|
|
|
102 |
"""
|
103 |
)
|
104 |
|
105 |
+
with gr.Blocks() as demo:
|
106 |
+
make_me()
|
107 |
+
|
108 |
+
|
109 |
demo.queue(concurrency_count = 200)
|
110 |
demo.launch()
|