tahiraskarli commited on
Commit
e71e993
·
verified ·
1 Parent(s): a4b56ad

Upload folder using huggingface_hub

Browse files
Files changed (3) hide show
  1. 176132714935692938.jpg +0 -0
  2. Aysun.py +1 -1
  3. test.py +13 -0
176132714935692938.jpg ADDED
Aysun.py CHANGED
@@ -5,7 +5,7 @@ import math
5
  import os
6
 
7
  # ========= CONFIG ==========
8
- STATIC_TARGET_PATH = "/mnt/c/Users/Tahir/Desktop/llm_engineering/176132714935692938.jpg" # 💖 fixed target image (your love)
9
  OUTPUT_DIR = "outputs"
10
  os.makedirs(OUTPUT_DIR, exist_ok=True)
11
  # ===========================
 
5
  import os
6
 
7
  # ========= CONFIG ==========
8
+ STATIC_TARGET_PATH = "/mnt/c/Users/Tahir/Desktop/llm_engineering/app/176132714935692938.jpg" # 💖 fixed target image (your love)
9
  OUTPUT_DIR = "outputs"
10
  os.makedirs(OUTPUT_DIR, exist_ok=True)
11
  # ===========================
test.py CHANGED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # test_app.py
2
+ import gradio as gr
3
+
4
+ def hello(name):
5
+ return f"Hello {name}!"
6
+
7
+ with gr.Blocks() as demo:
8
+ inp = gr.Textbox(placeholder="Name")
9
+ out = gr.Textbox()
10
+ gr.Button("Say hi").click(fn=hello, inputs=inp, outputs=out)
11
+
12
+ if __name__ == "__main__":
13
+ demo.launch()