Munz2Turipa commited on
Commit
222129f
·
verified ·
1 Parent(s): a5562bd

Upload folder using huggingface_hub

Browse files
Files changed (2) hide show
  1. README.md +3 -9
  2. app.py +10 -0
README.md CHANGED
@@ -1,12 +1,6 @@
1
  ---
2
- title: FramePack F1
3
- emoji: 👀
4
- colorFrom: indigo
5
- colorTo: green
6
- sdk: gradio
7
- sdk_version: 5.29.0
8
  app_file: app.py
9
- pinned: false
 
10
  ---
11
-
12
- Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
 
1
  ---
2
+ title: FramePack-F1
 
 
 
 
 
3
  app_file: app.py
4
+ sdk: gradio
5
+ sdk_version: 3.34.0
6
  ---
 
 
app.py ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ import gradio as gr
2
+
3
+ def greet(name):
4
+ return f"Hello, {name}!"
5
+
6
+ # Setting up the Gradio interface
7
+ interface = gr.Interface(fn=greet, inputs="text", outputs="text")
8
+
9
+ # Launch the app and make it work inside Docker
10
+ interface.launch(server_name="0.0.0.0", server_port=7860)