parquet added
Browse files
app.py
CHANGED
|
@@ -1,9 +1,10 @@
|
|
| 1 |
import gradio as gr
|
| 2 |
import pandas as pd
|
| 3 |
|
| 4 |
-
|
| 5 |
def greet(name):
|
| 6 |
-
|
|
|
|
| 7 |
|
| 8 |
iface = gr.Interface(fn=greet, inputs="text", outputs="text")
|
| 9 |
iface.launch()
|
|
|
|
| 1 |
import gradio as gr
|
| 2 |
import pandas as pd
|
| 3 |
|
| 4 |
+
|
| 5 |
def greet(name):
|
| 6 |
+
df_airings = pd.read_parquet('gs://infoxel-ml-ops/mlflow_artifacts/59/2f99b39ef1ad4af68982f882ebb837a5/artifacts/df_airings.parquet')
|
| 7 |
+
return "Hello " + name + "!!"
|
| 8 |
|
| 9 |
iface = gr.Interface(fn=greet, inputs="text", outputs="text")
|
| 10 |
iface.launch()
|