girishwangikar commited on
Commit
6eba460
1 Parent(s): b57e1fc

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +10 -2
app.py CHANGED
@@ -161,7 +161,7 @@ example_text = """The Apollo 11 mission, launched by NASA in July 1969, was the
161
  with gr.Blocks() as iface:
162
  with gr.Row():
163
  with gr.Column():
164
- input_text = gr.Textbox(label="Input Text", value=example_text)
165
  question = gr.Textbox(label="Question")
166
  example_box = gr.Markdown(f"### Example Paragraph\n\n{example_text}")
167
  graph_viz = gr.Image(label="Graph Visualization", type="filepath")
@@ -172,5 +172,13 @@ with gr.Blocks() as iface:
172
  generated_image = gr.Image(label="Generated Image", type="filepath")
173
 
174
  gr.Button("Run").click(ui_function, inputs=[input_text, question], outputs=[answer, graph_viz, relations_table, summary, generated_image])
175
-
 
 
 
 
 
 
 
 
176
  iface.launch()
 
161
  with gr.Blocks() as iface:
162
  with gr.Row():
163
  with gr.Column():
164
+ input_text = gr.Textbox(label="Input Text")
165
  question = gr.Textbox(label="Question")
166
  example_box = gr.Markdown(f"### Example Paragraph\n\n{example_text}")
167
  graph_viz = gr.Image(label="Graph Visualization", type="filepath")
 
172
  generated_image = gr.Image(label="Generated Image", type="filepath")
173
 
174
  gr.Button("Run").click(ui_function, inputs=[input_text, question], outputs=[answer, graph_viz, relations_table, summary, generated_image])
175
+
176
+ footer_text = """
177
+ <footer>
178
+ <p>If you enjoyed the functionality of the app, please leave a like!<br>
179
+ Check out more on <a href="https://www.linkedin.com/in/girish-wangikar/" target="_blank">LinkedIn</a> |
180
+ <a href="https://girishwangikar.github.io/Girish_Wangikar_Portfolio.github.io/" target="_blank">Portfolio</a></p>
181
+ </footer>
182
+ """
183
+ gr.Markdown(footer_text)
184
  iface.launch()