Spaces:
Runtime error
Runtime error
EmicoBinsfinder
commited on
Commit
•
5da4835
1
Parent(s):
17291f6
Update app.py
Browse files
app.py
CHANGED
@@ -48,12 +48,7 @@ with gr.Blocks() as demo:
|
|
48 |
|
49 |
Output:
|
50 |
""")
|
51 |
-
|
52 |
-
txt = gr.Textbox(
|
53 |
-
show_label=False,
|
54 |
-
placeholder="Enter text and press enter, or upload an image",
|
55 |
-
).style(container=False)
|
56 |
-
|
57 |
with gr.Tab("Description Generator"):
|
58 |
gr.Markdown("""
|
59 |
You can use this tool to turn a claim into a
|
@@ -106,6 +101,7 @@ with gr.Blocks() as demo:
|
|
106 |
placeholder='Type in your idea here!')
|
107 |
text2 = gr.Textbox(label="Output")
|
108 |
|
|
|
109 |
chatbot = gr.Chatbot([], elem_id="Claimed Assistant").style(height=500)
|
110 |
with gr.Row():
|
111 |
with gr.Column(scale=0.85):
|
@@ -120,5 +116,4 @@ with gr.Blocks() as demo:
|
|
120 |
bot, chatbot, chatbot
|
121 |
)
|
122 |
|
123 |
-
|
124 |
demo.launch()
|
|
|
48 |
|
49 |
Output:
|
50 |
""")
|
51 |
+
|
|
|
|
|
|
|
|
|
|
|
52 |
with gr.Tab("Description Generator"):
|
53 |
gr.Markdown("""
|
54 |
You can use this tool to turn a claim into a
|
|
|
101 |
placeholder='Type in your idea here!')
|
102 |
text2 = gr.Textbox(label="Output")
|
103 |
|
104 |
+
|
105 |
chatbot = gr.Chatbot([], elem_id="Claimed Assistant").style(height=500)
|
106 |
with gr.Row():
|
107 |
with gr.Column(scale=0.85):
|
|
|
116 |
bot, chatbot, chatbot
|
117 |
)
|
118 |
|
|
|
119 |
demo.launch()
|