HFAgentsCourse / app.py
xyizko's picture
Update app.py
4835a46 verified
import gradio as gr
TITLE="<center><img src='https://raw.githubusercontent.com/xyizko/xo-ml-HFAC-Spaces/refs/heads/main/gfx/gb1.png' width='400'></img>"
SUBTITLE="""
## > My Work related to the [HF SmolAgents Course](https://huggingface.co/learn/agents-course/unit0/introduction)
"""
MAIN1="""
# βš™οΈ Projects Made During the Course
1. [Joke Generator - NO AI](https://huggingface.co/spaces/xyizko/xo-JokeGen-NoAI) - Gradio app that calls a Jokes API
2. [Hugging Face Text Generation Tester](https://huggingface.co/spaces/xyizko/HF_Model_Test) - Using the Hugging Face Inference API to test various text generation models
3. [Bybit Blocked Wallet Address Checker](https://huggingface.co/spaces/xyizko/BybitBlockedAddressChecker) - Check if a wallet address is on a blocklist, and use an LLM to determine the chain the wallet belongs to
# βœ’οΈ Course Mandated Execercises
# πŸ“œ Certificates Issued
1. [Unit 1 - Pass Certifcate](https://huggingface.co/spaces/agents-course/unit_1_quiz/discussions/80)
"""
def main():
def intro_audio():
return "./x1.wav"
with gr.Blocks() as demo:
gr.Markdown(TITLE)
gr.Markdown(SUBTITLE)
gr.Audio(intro_audio, label="Work Introduction")
gr.Markdown(MAIN1)
demo.launch()
if __name__ == "__main__":
main()