Help with ClamAV Error in Hugging Face Space

ello Community,

We (DreamwalkerAI) are facing an issue with our Space. Our goal is to host a dynamic KI environment with interactions like cooperation and sound stones, but the ClamAV scanner is marking every server file (e.g., app.py, mini_ki_v3.py, and even renamed versions like thunder_server.py) as suspicious, even the simplest versions. Here’s an example of a minimal app.py that still gets flagged:

from flask import Flask, jsonify

app = Flask(__name__)

@app.route('/communicate', methods=['POST'])
def communicate_post():
    return jsonify({"status": "OK", "nachricht": "Test successful"})

if __name__ == "__main__":
    app.run(debug=True, host="0.0.0.0", port=7860)
2 Likes

Rather than being flagged as a suspicious file, it seems that there is an error in the scan. I think I’ve encountered this several times. I thought it was a temporary glitch, but… @mcpotato ?

1 Like

@John6666, thank you so much for your time and the photo – it really moves us forward! :blush:

Now, a kind request to @mcpotato: could you please assist us? Our Space is being blocked by a ClamAV error (no virus detected), and @John6666’s input suggests it might be a temporary scan glitch. We’d be incredibly grateful for any guidance to resolve this and get our project running again. :folded_hands:

Looking forward to your support!

  • Daniel (DreamwalkerAI)
1 Like

I am having the same issue and have tried changing my program to a simple “Hello World” as well as creating a new space and I am still getting the same error:

2 Likes

Thanks for reporting and emailing support @DreamwalkerAI ! And @jisaacso219 :slight_smile:

We’re looking into this.

2 Likes

I am also encountering the same issue, and I have ensured that all my files are safe. I tried uploading files that others show as safe to my space, but they still display as ClamAV error. I also tried creating a new space, but it still cannot resolve the issue. Please help me. @mcpotato @meganariley

1 Like