Spaces:
Running
Running
Update app.py
Browse filesback to textbox for output window
app.py
CHANGED
@@ -71,8 +71,8 @@ def test_plot_df():
|
|
71 |
return pd.DataFrame(data)
|
72 |
|
73 |
def md(txt):
|
74 |
-
return str(txt).replace('```', ' ').replace(' ', ' ').replace(' ', ' ').replace(' ', ' ').replace('\n','<br>')
|
75 |
-
|
76 |
|
77 |
def etz_now():
|
78 |
eastern = pytz.timezone('US/Eastern')
|
@@ -901,7 +901,7 @@ with gr.Blocks(theme=gr.themes.Soft()) as demo:
|
|
901 |
submit_button = gr.Button(value="Submit Prompt/Question")
|
902 |
speak_output = gr.Button(value="Speak Dialog", visible=False)
|
903 |
prompt_window = gr.Textbox(label = "Prompt or Question")
|
904 |
-
output_window = gr.
|
905 |
with gr.Row():
|
906 |
with gr.Column():
|
907 |
image_window2 = gr.Image(visible=False, interactive=True, label='Image to Analyze', type='filepath')
|
|
|
71 |
return pd.DataFrame(data)
|
72 |
|
73 |
def md(txt):
|
74 |
+
# return str(txt).replace('```', ' ').replace(' ', ' ').replace(' ', ' ').replace(' ', ' ').replace('\n','<br>')
|
75 |
+
return txt
|
76 |
|
77 |
def etz_now():
|
78 |
eastern = pytz.timezone('US/Eastern')
|
|
|
901 |
submit_button = gr.Button(value="Submit Prompt/Question")
|
902 |
speak_output = gr.Button(value="Speak Dialog", visible=False)
|
903 |
prompt_window = gr.Textbox(label = "Prompt or Question")
|
904 |
+
output_window = gr.Textbox(label = "Dialog")
|
905 |
with gr.Row():
|
906 |
with gr.Column():
|
907 |
image_window2 = gr.Image(visible=False, interactive=True, label='Image to Analyze', type='filepath')
|