fastapi_gradio / README.md
deadshot2003's picture
Update README.md
f3eb5e0 verified

A newer version of the Gradio SDK is available: 6.5.1

Upgrade
metadata
title: Fastapi
emoji: 💻
colorFrom: pink
colorTo: yellow
sdk: gradio
sdk_version: 4.25.0
app_file: app.py
pinned: false

FastAPI 💻

Conversational Chatbot

This conversational chatbot is designed to engage users in conversations without revealing that they are interacting with an AI model.

Usage:

  1. Clone the repository:
    git clone git clone https://huggingface.co/spaces/deadshot2003/fastapi_gradio
    

  1. Navigate to the project directory:
cd <project_directory>
---
3.Install the required dependencies:
```bash
pip install -r requirements.txt
---
Run the FastAPI server:
```bash
uvicorn app:app --reload
---
Access the chatbot interface: 
Open your web browser and go to http://localhost:8000

OR

Check out the project from hugging face embedding:
https://deadshot2003-fastapi-gradio.hf.space

If you append /gradio to the link, you'll get the Gradio interface.
If you append /hello/{any_name}, you'll receive a personalized greeting.

How to Interact:
Once the server is running, you can start interacting with the chatbot by typing messages in the input field.
The chatbot will respond to your messages as if it were engaging in a real conversation.
Enjoy chatting with the conversational chatbot!

Additional Information:
For more details about the implementation, please refer to the app.py file in the repository.
If you encounter any issues or have feedback, feel free to open an issue or pull request in the repository.

Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference


Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference