Update app.py
Browse files
app.py
CHANGED
|
@@ -1,7 +1,7 @@
|
|
| 1 |
import gradio as gr
|
| 2 |
|
| 3 |
def fetch_data(symbol, req_type):
|
| 4 |
-
# Prefabricated HTML response
|
| 5 |
html_response = f"""
|
| 6 |
<html>
|
| 7 |
<head><title>Stock Data for {symbol}</title></head>
|
|
|
|
| 1 |
import gradio as gr
|
| 2 |
|
| 3 |
def fetch_data(symbol, req_type):
|
| 4 |
+
# Prefabricated HTML string response to demonstrate API
|
| 5 |
html_response = f"""
|
| 6 |
<html>
|
| 7 |
<head><title>Stock Data for {symbol}</title></head>
|