Spaces:
Running
Running
update markdown
Browse files
app.py
CHANGED
|
@@ -85,7 +85,7 @@ def respond(
|
|
| 85 |
|
| 86 |
|
| 87 |
with gr.Blocks() as demo:
|
| 88 |
-
md = gr.Markdown("
|
| 89 |
with gr.Tab("Resume (Chat)"):
|
| 90 |
|
| 91 |
# Initialize history with a welcome message
|
|
@@ -108,6 +108,10 @@ with gr.Blocks() as demo:
|
|
| 108 |
with gr.Tab("Resume (PDF)"):
|
| 109 |
md = gr.Markdown("[Link to PDF]()")
|
| 110 |
|
|
|
|
|
|
|
| 111 |
|
| 112 |
if __name__ == "__main__":
|
|
|
|
|
|
|
| 113 |
demo.launch(ssr_mode=False)
|
|
|
|
| 85 |
|
| 86 |
|
| 87 |
with gr.Blocks() as demo:
|
| 88 |
+
md = gr.Markdown("Interactive chat with Jeremy's resume. For more information, visit [jerpint.io/resume](https://www.jerpint.io/resume)")
|
| 89 |
with gr.Tab("Resume (Chat)"):
|
| 90 |
|
| 91 |
# Initialize history with a welcome message
|
|
|
|
| 108 |
with gr.Tab("Resume (PDF)"):
|
| 109 |
md = gr.Markdown("[Link to PDF]()")
|
| 110 |
|
| 111 |
+
md = gr.Markdown("Created by [Jeremy Pinto](https://www.jerpint.io)")
|
| 112 |
+
|
| 113 |
|
| 114 |
if __name__ == "__main__":
|
| 115 |
+
# Set ssr_mode=False to avoid 500 internal server error, see discussion here:
|
| 116 |
+
# https://discuss.huggingface.co/t/keep-hitting-500-internal-server-error-when-trying-to-launch-gradio-app-in-spaces/125411/7
|
| 117 |
demo.launch(ssr_mode=False)
|